// body {
//     background-color: #eee;
// }
// header css start
#header {
    padding: 0px 10px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: orangered;
    a {
        &:first-child,&:last-child {
            img {
                height: 25px;
            }
        }
        &:last-child {
            float: right;
        }
    }
}
// header css end 

// search css start
#search {
    height: 50px;
    width: 100%;
    position: relative;
    padding: 10px 77px 0px 10px;
    background-color: white;
    // margin-bottom: 10px;
    input {
        &:first-child {
            height: 30px;
            width: 100%;
            border: 0;
            border-radius: 15px;
            background-color: #f1f1f1;
            padding-left: 20px;
        }
        &:last-child {
            height: 30px;
            width: 60px;
            color: white;
            position: absolute;
            right: 10px;
            top: 10px;
            border: none;
            border-radius: 15px;
            background-color: orangered
        }
    }
}
//search css end

//category  start 
.category {
    width: 100%;
    .list {
        width: 100%;
        .list-item {
            width: 100%
        }
    }
    .list-item {
        >a {
            display: block;
            width: 100%;
            height: 40px;
            line-height: 40px;
            padding-left: 10px;
            padding-right: 10px;
            font-size: 18px;
            font-weight: 500;
            border-top: 1px solid #eb4;
            // border-bottom: 1px solid #aaa;
            background-color: #eee;
            border-radius: 7px;
        }
        span {
            float: right;
            line-height: 40px;
            display: block;
        }
    }

    .menu {
        display: none;
        width: 100%;
        overflow: hidden;
        li {
            float: left;
            width: 33.3333333%;
            height: 30px;
            line-height: 30px;
            border-right: 1px solid #aaa;
            border-bottom: 1px solid #aaa;
            text-align: center;
            background-color: darkcyan;
            &:nth-child(3n) {
                border-right: none;
            }
            a {
                display: block;
                width: 100%;
                height: 100%;
            }
        }
    }
}
//category  end


// footer css  start
#footer {
    background-color: #f1f1f1;
    .top {
        font-size: 0;
        width: 100%;
        height: 40px;
        line-height: 40px;
        border-bottom: 1px solid #ccc;
        border-top: 1px solid #ccc;
        a {
            display: inline-block;
            text-align: center;
            font-size: 14px;
            border-right: 1px solid #ccc;
            &:nth-child(-n+2){
                width: 30%;
            }
            &:last-child {
                width: 40%;
            }
        }
    }
    .bottom {
        p {
            text-align:center;
            margin: 0px;
            margin-top: 15px;
            a {
                color: red;
            }
            &:last-child {
                margin-top: 0px;
                margin-bottom: 15px;
            }
        }
    }
}
// footer css  end

// 小图标的旋转切换
.toggle {
    transform: rotate(90deg);
}
